package com.dc.spring.bean;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class MyConfig {

    @Bean
    public  FirstBean2 firstBean2 (){
        FirstBean2 sss = new FirstBean2("sss");
        return  sss;
    }
}
